using Common;
using Grpc.Core;


namespace _1GrpcTypes.Services;

public class GreeterServiceV2 : Greet.V2.Greeter.GreeterBase
{
	private readonly ILogger<GreeterServiceV2> _logger;

	public override Task<UnaryCallResponse> UnaryCall(UnaryCallReq request, ServerCallContext context)
	{
		return base.UnaryCall(request, context);
	}

	public override Task<ClientStreamCallResponse> ClientStreamCall(IAsyncStreamReader<ClientStreamCallReq> requestStream, ServerCallContext context)
	{
		return base.ClientStreamCall(requestStream, context);
	}

	public override Task ServerStreamCall(ServerStreamCallReq request, IServerStreamWriter<ServerStreamCallResponse> responseStream, ServerCallContext context)
	{
		return base.ServerStreamCall(request, responseStream, context);
	}

	public override Task DuplexStreamCall(IAsyncStreamReader<DuplexStreamCallReq> requestStream, IServerStreamWriter<DuplexStreamCallResponse> responseStream, ServerCallContext context)
	{
		return base.DuplexStreamCall(requestStream, responseStream, context);
	}
}
